package com.zy.exception;

/**
 * @Author Gong
 * @Description
 * @dATE 2021/12/8 14:42
 **/
public class MyException extends Exception {
    static final long serialVersionUID = 1L;
    private int idnumber;
    public MyException(String message, int id) {
        super(message);
        this.idnumber = id;
    }
    public int getId() {
        return idnumber;
    }
}
